#ifndef _UTIL_H_
#define _UTIL_H_

#include "cocos2d.h"
USING_NS_CC;

namespace util
{
	CCSprite* addSimpleSprite(CCLayer* pLayer, const char* res, float xPercent, float yPercent);
	CCMenu* addSimpleMenu(CCLayer* pLayer, SEL_MenuHandler selector, const char* res1, const char* res2, float xPercent, float yPercent);
	CCMenu* addSimpleMenu(CCLayer* pLayer, SEL_MenuHandler selector, CCSprite* sprite1, CCSprite* sprite2, float xPercent, float yPercent);
};

#endif // _UTIL_H_